import http from '../../utils/request/request'
const ROOT = '/processing/processing-product-batch'

// 获取所有作业信息（分页）
export function getAllInfoByPage(factoryId, current = 1, size = 5, value = '') {
    let RootUrl = `${ROOT}/factory/${factoryId}/page/${current}/${size}`
    let url = value ? `${RootUrl}/key/${value}` : `${RootUrl}`;
    return http({
        url,
        method: 'get'
    })
}

